#ifndef PID_CONTROLLER_H
#define PID_CONTROLLER_H

void set_target_speed(double speed_rpm);

double pid_controller(double current_speed);
void reset_controller_state();
extern double Kp;
extern double Ki;
extern double Kd;
extern double target_speed;
extern int open_loop;
extern double open_loop_duty_cycle;

#endif